//
//  WD_LeftViewController.m
//  BUDING
//
//  Created by HanWoonYong on 16/3/31.
//  Copyright © 2016年 HanWoonYong. All rights reserved.
//

#import "WD_LeftViewController.h"

@interface WD_LeftViewController ()<UITableViewDataSource, UITableViewDelegate>

@end

@implementation WD_LeftViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor colorWithWhite:0.152 alpha:1.000];
    [self setUpTableView];
}

- (void)setUpTableView {
    
    UIView *backGround = [[UIView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT / 1.6)];
    
    UITableView *tableView = [[UITableView alloc] initWithFrame:BOUNDS style:UITableViewStylePlain];
    backGround.backgroundColor = [UIColor blackColor];
    tableView.backgroundColor = [UIColor whiteColor];
    tableView.tableHeaderView = backGround;
    tableView.delegate = self;
    tableView.dataSource = self;
    [tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];
    [self.view addSubview:tableView];
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 6;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    
    return cell;
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
